<%-- 
    Document   : Parameters
    Created on : May 12, 2009, 10:58:41 PM
    Author     : Owner
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" import="java.util.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Parameters</title>
    </head>
    <body>
        <%
            String name;
            String[] values;
            Enumeration names = request.getParameterNames();

            while (names.hasMoreElements()){
                name = (String) names.nextElement();
                values = request.getParameterValues(name);

        %>
        <%= name %> <br/>
        <ul>
            <%
            for (int i=0;i<values.length; i++){

            %>
            <li> <%= values[i] %> </li>
            <% } %>
        </ul>
        <% } %>
    </body>
</html>
